home *** CD-ROM | disk | FTP | other *** search
/ Dos/V Magazine 1995 October 15 / CD [VMAG951015].bin / _demo / w95demo / w95demo.exe / M08CHBKG.DXR / 00057.ls < prev    next >
Encoding:
Text File  |  1995-08-22  |  800 b   |  40 lines

  1. on exitFrame
  2.   doControl()
  3.   if the frame = marker(0) then
  4.     go(the frame)
  5.   end if
  6. end
  7.  
  8. on keyDown
  9.   global gMainMovieName, gResellerVersion, gAutoMode, gNextKey, gBackKey, gMenuKey, gRestartKey, gExitKey
  10.   set k to the key
  11.   set kcode to the keyCode
  12.   if k = gNextKey then
  13.     hiliteButton(24)
  14.     drawPaperEndForNext()
  15.     goNext()
  16.     dontPassEvent()
  17.   else
  18.     if k = gBackKey then
  19.       hiliteButton(23)
  20.       cleanupPaper()
  21.       goBack()
  22.       dontPassEvent()
  23.     else
  24.       if k = RETURN then
  25.         if the shiftDown then
  26.           hiliteButton(23)
  27.           cleanupPaper()
  28.           goBack()
  29.           dontPassEvent()
  30.         else
  31.           hiliteButton(24)
  32.           drawPaperEndForNext()
  33.           goNext()
  34.           dontPassEvent()
  35.         end if
  36.       end if
  37.     end if
  38.   end if
  39. end
  40.